﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Strive.Util.Text;
using Strive.Util.Logging;
using Strive.Core.Validations;
using Strive.Core.Service;
using Strive.Core.Translators;
using Strive.Util.Maths;
using Strive.Reflection;
using Strive.Aspects;

using Strive.DataAccess.Base.Model.PageObject;
using Strive.DataAccess.Base.BO;

using Strive.DataAccess.Base.Model.SearcherObject;

using OTA.Notification.DAO.Rule;
using OTA.Notification.Entity.Rule;

using OTA.Notification.Interface.IDAO.Rule;
using OTA.Notification.Interface.IBO.Rule;

using Strive.DataAccess;
using Strive.Util;

namespace OTA.Notification.BO.Rule
{
    public abstract class MsgRuleConfigBO : BaseBOBean<int, MsgRuleConfigBean, MsgRuleConfigDao, IMsgRuleConfigDao>, IMsgRuleConfigBO
    {

        public virtual PageResult<MsgRuleConfigBean> SelectPageList(BasePageSearch search)
        {

            return base.DomainDAO.SelectPageList(search);

        }

        public virtual Int64 Insert(MsgRuleConfigBean obj)
        {
            return base.DomainDAO.DataInsert(obj, SequenceType.Normal); 
            //return 0;
        }
    }
}
